<?php
// path
define ( 'ATTACH_PATH', 'static/attachments/' );
define ( 'UPLOAD_PATH', ROOT_PATH . ATTACH_PATH );
define ( 'UPLOAD_MAX_SIZE', 2 * 1024 * 1024 ); // 2MB

define ( 'USER_VERIFY', false ); // 用户验证，如果设置为true，则需要发送验证邮件

define ( 'COOKIE_PATH', '/' );
define ( 'COOKIE_DOMAIN', 'vvivii.com' );
define ( 'SESSION_DEFAULT_LIFETIME', 300 ); // 1 hour
                                            // define ( 'SESSION_MAX_LIFETIME',
                                            // 30 * 24 * 60 ); // 30 days
define ( 'REGISTER_VERIFY', false );
define ( 'SITE_URL', 'http://ns.vvivii.com' );
define ( 'CONSOLE_BASE', '/manage/' );

define ( 'QQ_MAX_LEN', 11 );
define ( 'QQ_MIN_LEN', 5 );
define ( 'QQNICK_MAX_LEN', 10 );
define ( 'QQNICK_MIN_LEN', 1 );
define ( 'QQGROUP_MAX_LEN', 10 );
define ( 'QQGROUP_MIN_LEN', 5 );
define ( 'QQGROUPNAME_MAX_LEN', 10 );
define ( 'QQGROUPNAME_MIN_LEN', 0 );

